﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.ComponentModel;
using DoAnWeb.DTO;
using DoAnWeb.DAO;

namespace DoAnWeb.BUS
{
    public class LoaiSanPhamBUS
    {
        private LoaiSanPhamDAO DAO = new LoaiSanPhamDAO();

        public BindingList<LoaiSanPhamDTO> GetList()
        {
            return DAO.GetList();
        }

        public BindingList<LoaiSanPhamDTO> GetFromID(int _Ma)
        {
            return DAO.GetFromID(_Ma);
        }

    }
}